package com.bsh.entity.Bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("tb_class")
@Accessors(chain = true)
public class TbClass {
    /**
     * 班级编号
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(name = "班级编号")
    private Integer classId;
    /**
     * 班级名称
     */
    @ApiModelProperty(name = "班级名称")
    private String className;
    /**
     * 年级
     */
    @ApiModelProperty(name = "年级")
    private String classGrade;
    /**
     * 班主任姓名
     */
    @ApiModelProperty(name = "班主任姓名")
    private String headTeacher;

}